/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const paymentRouter = {
  path: '/payment',
  component: Layout,
  redirect: '/table/complex-table',
  name: '收付款管理',
  meta: {
    title: '收付款管理',
    icon: 'table'
  },
  children: [
    {
      path: 'proceeds',
      component: () => import('@/views/payment/proceeds/index'),
      name: '收款管理',
      meta: { title: '收款管理' }
    },
    {
      path: 'payment',
      component: () => import('@/views/payment/payment/index'),
      name: '付款管理',
      meta: { title: '付款管理' }
    },
    {
      path: 'disblance',
      component: () => import('@/views/payment/disblance/list'),
      name: '分销商余额',
      meta: { title: '分销商余额' }
    }
  ]
}
export default paymentRouter
